package com.zh.mediapojo.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserPasswordDTO {
    private String oldPassword;
    private String newPassword;
    public boolean checkPassword() {
        return oldPassword ==newPassword;
    }

}
